package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 监控预警记录表（基于维度交叉预警的记录）
 * </p>
 *
 * @author plx
 * @since 2020-03-17
 */
@TableName("t_monitor_warning")
public class MonitorWarning implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 组织id
     */
    private String orgid;

    /**
     * 组织类型
     */
    private String orgtype;

    /**
     * 纬度类型
     */
    private String dimensionCode;

    /**
     * 交叉预警条件内容
     */
    private String content;

    /**
     * 预警提醒年月
     */
    private String years;

    /**
     * 维度名称
     */
    private String dimensionName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }
    public String getOrgtype() {
        return orgtype;
    }

    public void setOrgtype(String orgtype) {
        this.orgtype = orgtype;
    }
    public String getDimensionCode() {
        return dimensionCode;
    }

    public void setDimensionCode(String dimensionCode) {
        this.dimensionCode = dimensionCode;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getYears() {
        return years;
    }

    public void setYears(String years) {
        this.years = years;
    }
    public String getDimensionName() {
        return dimensionName;
    }

    public void setDimensionName(String dimensionName) {
        this.dimensionName = dimensionName;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TMonitorWarning{" +
        "id=" + id +
        ", orgid=" + orgid +
        ", orgtype=" + orgtype +
        ", dimensionCode=" + dimensionCode +
        ", content=" + content +
        ", years=" + years +
        ", dimensionName=" + dimensionName +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
